RAS: Validate stack pointer after error handling
authorJeenu Viswambharan <jeenu.viswambharan@arm.com>
Mon, 19 Feb 2018 12:25:53 +0000 (12:25 +0000)
committerJeenu Viswambharan <jeenu.viswambharan@arm.com>
Tue, 17 Jul 2018 07:31:31 +0000 (08:31 +0100)
commitee6ff1bb37e67df2e080cf49a03dfc8310dbc733
tree3085aa847b245ad1bc5eabae80c485b4cf805b22
parentdf8f3188d7b318b3b486f0ec4016b2ad271c85a7
RAS: Validate stack pointer after error handling

RAS handling flows might involve using setjmp/longjump calls introduced
in earlier patches; therefore, it'd be good to make sure the stack has
been unwound completely after the handling.

This patch inserts ASM assertions on the RAS handling path to validate
stack.

Change-Id: I59d40d3122010c977cdeab3cce3160f3909e7e69
Signed-off-by: Jeenu Viswambharan <jeenu.viswambharan@arm.com>
bl31/aarch64/ea_delegate.S